﻿use [clz]
GO
/****** Object:  Table [dbo].[SystemConfig]    Script Date: 08/05/2011 14:15:52 ******/
DROP TABLE [dbo].[SystemConfig]
GO
/****** Object:  Table [dbo].[SystemConfig]    Script Date: 08/05/2011 14:15:52 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SystemConfig](
	[SystemConfigID] [int] IDENTITY(1,1) NOT NULL,
	[ConfigName] [nvarchar](50) NOT NULL,
	[ConfigValue] [ntext] NOT NULL,
	[DBTypeName] [nvarchar](50) NOT NULL,
	[Description] [ntext] NULL,
 CONSTRAINT [PK_SYSTEMCONFIG] PRIMARY KEY CLUSTERED 
(
	[SystemConfigID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'系统配置信息ID(主键)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SystemConfig', @level2type=N'COLUMN',@level2name=N'SystemConfigID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'系统配置信息名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SystemConfig', @level2type=N'COLUMN',@level2name=N'ConfigName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'系统配置信息数值' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SystemConfig', @level2type=N'COLUMN',@level2name=N'ConfigValue'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数据类型名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SystemConfig', @level2type=N'COLUMN',@level2name=N'DBTypeName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'描述' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SystemConfig', @level2type=N'COLUMN',@level2name=N'Description'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'系统配置信息表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SystemConfig'
GO
SET IDENTITY_INSERT [dbo].[SystemConfig] ON
INSERT [dbo].[SystemConfig] ([SystemConfigID], [ConfigName], [ConfigValue], [DBTypeName], [Description]) VALUES (1, N'cfg_MAX_USER', N'500', N'nvarchar(100)', N'最大注册视频购物用户数')
SET IDENTITY_INSERT [dbo].[SystemConfig] OFF
